package com.zy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.domain.AcceptTask;
import com.zy.domain.ReleaseTask;
import com.zy.domain.User;
import com.zy.param.ReleaseTaskParam;

public interface ReleaseTaskService extends IService<ReleaseTask> {

  /**
   * 发布任务
   * @param releaseTaskParam
   * @return
   */
  ReleaseTask releaseTask(ReleaseTaskParam releaseTaskParam);

  /**
   * 通过id查询发布的任务
   * @param id
   * @return
   */
  ReleaseTask getTaskById(Integer id);
}

